home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / Sample Code / Snippets / Toolbox / ItemHider / MPW / SingleHider / SingleHider.r < prev    next >
Encoding:
Text File  |  1992-07-15  |  614 b   |  51 lines  |  [TEXT/MPS ]

  1. resource 'DLOG' (128) {
  2.     {40, 40, 214, 284},
  3.     documentProc,
  4.     visible,
  5.     noGoAway,
  6.     0x0,
  7.     128,
  8.     "New Dialog"
  9. };
  10.  
  11. resource 'DITL' (128) {
  12.     {    /* array DITLarray: 6 elements */
  13.         /* [1] */
  14.         {8, 8, 28, 99},
  15.         StaticText {
  16.             disabled,
  17.             "EditText 1:"
  18.         },
  19.         /* [2] */
  20.         {8, 120, 31, 224},
  21.         EditText {
  22.             enabled,
  23.             ""
  24.         },
  25.         /* [3] */
  26.         {144, 96, 164, 156},
  27.         Button {
  28.             enabled,
  29.             "OK"
  30.         },
  31.         /* [4] */
  32.         {144, 160, 164, 220},
  33.         Button {
  34.             enabled,
  35.             "Cancel"
  36.         },
  37.         /* [5] */
  38.         {5, 117, 34, 227},
  39.         UserItem {
  40.             enabled
  41.         },
  42.         /* [6] */
  43.         {144, 10, 165, 88},
  44.         CheckBox {
  45.             enabled,
  46.             "Hide It?"
  47.         }
  48.     }
  49. };
  50.  
  51.